//
//  ChooseDetailCell.m
//  ErWa
//
//  Created by 李雪 on 16/3/10.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ChooseDetailCell.h"
#import "NewNestHeader.h"

@implementation ChooseDetailCell

-(instancetype)initWithFrame:(CGRect)frame
{
//    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    self = [super initWithFrame:frame];
    if (self) {
        NSLog(@"SK == %s", __FUNCTION__);
        
        self.imgview = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width / 3 * 2, self.frame.size.width / 3 * 2)];
        _imgview.center = CGPointMake(self.frame.size.width / 2, self.frame.size.height / 3);
        [self addSubview:_imgview];
        
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, _imgview.frame.size.height + 5, self.frame.size.width, self.frame.size.height - _imgview.frame.size.height - 10)];
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        _titleLabel.font = [UIFont systemFontOfSize:15];
        _titleLabel.textColor = [UIColor grayColor];
        [self addSubview:_titleLabel];

    }
    return self;
}




/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
